package scsc.pub.data;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;



/** 
 *        @hibernate.class
 *         table="KinderGarden"
 *         schema="scsc"
 *         dynamic-update="true"
 *         dynamic-insert="true"
 *     
*/
public class KinderGarden implements Serializable {

    /** identifier field */
    private Integer kgtId;

    /** nullable persistent field */
    private String kgtName;

    /** nullable persistent field */
    private String honor;

    /** nullable persistent field */
    private String teacherLevel;

    /** nullable persistent field */
    private String concept;

    /** nullable persistent field */
    private String idea;

    /** nullable persistent field */
    private String linkMan;

    /** nullable persistent field */
    private String linkTel;

    /** nullable persistent field */
    private String email;

    /** nullable persistent field */
    private String remark;

    /** persistent field */
    private String userId;

    /** nullable persistent field */
    private String latestDate;
    
    private String ispublished;
    

    /** full constructor */
    public KinderGarden(Integer kgtId, String kgtName, String honor, String teacherLevel, String concept, String idea, String linkMan, String linkTel, String email, String remark, String userId, String latestDate,String ispublished) {
        this.kgtId = kgtId;
        this.kgtName = kgtName;
        this.honor = honor;
        this.teacherLevel = teacherLevel;
        this.concept = concept;
        this.idea = idea;
        this.linkMan = linkMan;
        this.linkTel = linkTel;
        this.email = email;
        this.remark = remark;
        this.userId = userId;
        this.latestDate = latestDate;
        this.ispublished =ispublished;
    }

    /** default constructor */
    public KinderGarden() {
    }

    /** minimal constructor */
    public KinderGarden(Integer kgtId, String userId) {
        this.kgtId = kgtId;
        this.userId = userId;
    }

    /** 
     *            @hibernate.id
     *             generator-class="assigned"
     *             type="java.lang.Integer"
     *             column="KgtId"
     *         
     */
    public Integer getKgtId() {
        return this.kgtId;
    }

    public void setKgtId(Integer kgtId) {
        this.kgtId = kgtId;
    }

    /** 
     *            @hibernate.property
     *             column="KgtName"
     *             length="60"
     *         
     */
    public String getKgtName() {
        return this.kgtName;
    }

    public void setKgtName(String kgtName) {
        this.kgtName = kgtName;
    }

    /** 
     *            @hibernate.property
     *             column="Honor"
     *            
     *         
     */
    public String getHonor() {
        return this.honor;
    }

    public void setHonor(String honor) {
        this.honor = honor;
    }

    /** 
     *            @hibernate.property
     *             column="TeacherLevel"
     *             
     *         
     */
    public String getTeacherLevel() {
        return this.teacherLevel;
    }

    public void setTeacherLevel(String teacherLevel) {
        this.teacherLevel = teacherLevel;
    }

    /** 
     *            @hibernate.property
     *             column="Concept"
     *             
     *         
     */
    public String getConcept() {
        return this.concept;
    }

    public void setConcept(String concept) {
        this.concept = concept;
    }

    /** 
     *            @hibernate.property
     *             column="Idea"
     *             
     *         
     */
    public String getIdea() {
        return this.idea;
    }

    public void setIdea(String idea) {
        this.idea = idea;
    }

    /** 
     *            @hibernate.property
     *             column="LinkMan"
     *             length="40"
     *         
     */
    public String getLinkMan() {
        return this.linkMan;
    }

    public void setLinkMan(String linkMan) {
        this.linkMan = linkMan;
    }

    /** 
     *            @hibernate.property
     *             column="LinkTel"
     *             length="40"
     *         
     */
    public String getLinkTel() {
        return this.linkTel;
    }

    public void setLinkTel(String linkTel) {
        this.linkTel = linkTel;
    }

    /** 
     *            @hibernate.property
     *             column="Email"
     *             length="50"
     *         
     */
    public String getEmail() {
        return this.email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    /** 
     *            @hibernate.property
     *             column="Remark"
     *             length="200"
     *         
     */
    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    /** 
     *            @hibernate.property
     *             column="UserId"
     *             length="7"
     *             not-null="true"
     *         
     */
    public String getUserId() {
        return this.userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    /** 
     *            @hibernate.property
     *             column="LatestDate"
     *             length="23"
     *         
     */
    public String getLatestDate() {
        return this.latestDate;
    }

    public void setLatestDate(String latestDate) {
        this.latestDate = latestDate;
    }

    public String toString() {
        return new ToStringBuilder(this)
            .append("kgtId", getKgtId())
            .toString();
    }

	public String getIspublished() {
		return ispublished;
	}

	public void setIspublished(String ispublished) {
		this.ispublished = ispublished;
	}

}
